package cn.qingyun.gis.modules.enterprise.aggregate.feign;

import cn.qingyun.gis.exception.CommonException;
import cn.qingyun.gis.modules.enterprise.aggregate.request.AggregateRequest;
import cn.qingyun.gis.modules.enterprise.aggregate.request.BuildInfoVo;
import cn.qingyun.gis.modules.enterprise.aggregate.response.AggregationVo;

import java.util.List;

/**
 *
 * @author wz
 * @version JDK 8
 * @className GovernmentClientServiceFallback (此处以class为例)
 * @date 2024/10/28
 * @description
 */
public class GovernmentClientServiceFallback implements GovernmentClientService {
    @Override
    public List<AggregationVo> getAggregateList(AggregateRequest request) {
        throw new CommonException("远程调用中小企聚合接口失败!");
    }

    @Override
    public BuildInfoVo getBuildInfoDetail(String poiId) {
        throw new CommonException("远程查询建筑详情及包含的POI信息失败!");
    }
}
